/*
 * @Author: your name
 * @Date: 2021-11-05 13:53:00
 * @LastEditTime: 2022-01-14 14:26:29
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \star-cat-h5\src\axios\user.js
 */
let Url = "/api"

import {
    get,
    post
} from './request'

export function reqList(params) {
    return get(Url + '/backend/artist/Artist/artistList', params)
}

export function reqExamineList(params) {
    return get(Url + '/backend/artist/v1/Artist/reviewList', params)
}

export function reqDetail(params) {
    return get(Url + '/backend/artist/Artist/artistDetail', params)
}

export function reqUpdateDetail(params) {
    return get(Url + '/backend/artist/v1/Artist/updateDetail', params)
}

export function reqExamineDetail(params) {
    return get(Url + '/backend/artist/v1/Artist/reviewDetail', params)
}

export function updateArtist(params) {
    return post(Url + '/backend/artist/v1/Artist/updateArtist', params)
}

export function addArtist(params) {
    return post(Url + '/backend/artist/v1/Artist/addArtist', params)
}

export function reqPlatform() {
    return get(Url + '/backend/config/config/getConfigByH5', {
        name: "contract/platform"
    })
}

export function getArtistAgent(params) {
    return get(Url + '/backend/artist/Artist/getArtistAgent', params)
}

export function getArtistStarScout(params) {
    return get(Url + '/backend/artist/Artist/getArtistStarScout', params)
}

export function getAnchorInfoByUniqueId(params) {
    return get(Url + '/backend/artist/Artist/getAnchorInfoByUniqueId', params)
}

// 添加艺人 艺人身份证识别
export function validateIdCard(params) {
    return post(Url + '/backend/artist/v1/Artist/validateIdCard', params)
}

// 添加艺人 艺人身份证验证
export function validateCard(params) {
    return post(Url + '/backend/artist/v1/Artist/validateCard', params)
}

// 添加艺人 艺人主播信息验证
export function validateAnchor(params) {
    return post(Url + '/backend/artist/v1/Artist/validateAnchor', params)
}